package com.aaa.common.vo;

import java.io.Serializable;
import java.util.List;

/**
 * fileName:TreeNode
 * description:
 * author:zz
 * createTime:2020/8/28 14:13
 * version:1.0.0
 */
public class TreeNode implements Serializable{

    private int id;
    private int parentId;
    private String label;
    private String icon;
    private String url;
    private List<TreeNode> children;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }
}
